<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>add user</title>
<script type="text/javascript">
	function submitUser() {
		document.getElementById('userForm').submit();
	}
</script>
</head>
<body>
<form id='userForm' action="createUser.do" method="post">
	<input type="hidden" name="user.id" value="${user.id}">
	<table>
		<tr>
			<td>name:</td>
			<td><input id='name' type="text" name="user.name" value="${user.name}"></td>
		</tr>
		<tr>
			<td>password:</td>
			<td><input id='password' type="password" name="user.password" value="${user.password}"></td>
		</tr>
		<tr>
			<td>address:</td>
			<td><input id='address' type="text" name="user.address" value="${user.address}"></td>
		</tr>
	</table>
	<input type="button" value="submit" onclick="submitUser()">
</form>
</body>
</html>